<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://struts.apache.org/tags-nested" prefix="nested"%>



<html:html lang="en">
<jsp:include page="/jsp/header.jsp" flush="true" />
<body>
	<div id="header">
		<div style="clear: both"></div>
	</div>
	<br/>
	<div align="center">
		<html:form action="Login">
			<nested:hidden property="accion" value="aceptar" />
			<table class="sombra formulario">
				<tr>
					<td>
						<table>
							<tr>
								<td align="right"><bean:message key="login.usuario.label" />
								</td>
								<td><html:text property="username" styleId="username"
										size="30" maxlength="30" />
								</td>
							</tr>
							<tr>
								<td align="right"><bean:message key="login.password.label" />
								</td>
								<td><html:password property="password" styleId="password"
										size="30" maxlength="30" />
								</td>
							</tr>
							<tr>
								<td colspan="2" align="center"><html:submit><bean:message key="login.boton.loguear" /></html:submit>
								</td>
							</tr>
						</table></td>
				</tr>
			</table>
			<nested:equal value="false" property="exitoso" name="loginForm">
				<table>
					<tr>
						<td align="center" class="tit_tablas" style="text-transform: none;"><bean:message key="login.error"/></td>
					</tr>
				</table>
			</nested:equal>
		</html:form>
	</div>
</body>
</html:html>

